﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebSite.Account {
    public partial class SessionClose : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {
            if (!string.IsNullOrEmpty(Convert.ToString(HttpContext.Current.Session["msgAutenticado"]))) {
                HttpContext.Current.Session["msgAutenticado"] = "";
                sessionClose.Style.Add("display", "block");
                Response.Redirect("../Default.aspx");
            }
        }
    }
}